<%
String type = (String) session.getAttribute("type");
if(type != null && type.equals("root"))
{
%>
	<ul>
		<li><a href="index.jsp"><span>Home</span></a></li>
		<li><a href="controlUsers.jsp"><span>Control Users</span></a></li>
		<li><a href="controlType.jsp"><span>Control Users Type</span></a></li>
		<li><a href="event.jsp"><span>Show log file</span></a></li>
		<li><a href="add_News.jsp"><span>add news</span></a></li>
		
		
	</ul>
<%
} else if(type != null && type.equals("committee"))
{
%>
	<ul>
		<li><a href="index.jsp"><span>Home</span></a></li>
		<li><a href="controlProject.jsp"><span>Control Projects</span></a></li>
		<li><a href="assignProjectToStudents.jsp"><span>Assign Projects To Students</span></a></li>
		<li><a href="assignProjectToProfessors.jsp"><span>Assign Projects To Professors</span></a></li>
		<li><a href="add.jsp"><span>Add Project</span></a></li>
		<li><a href="myProject.jsp"><span>Show my project</span></a></li>
	</ul>
<%
} else if(type != null && type.equals("professor"))
{
%>
	<ul>
		<li><a href="index.jsp"><span>Home</span></a></li>
		<li><a href="add.jsp"><span>Add Project</span></a></li>
		<li><a href="myProject.jsp"><span>Show my project</span></a></li>
	</ul>
<%
} else if(type != null && type.equals("student"))
{
%>
	<ul>
		<li><a href="index.jsp"><span>Home</span></a></li>
		<li><a href="joinToProjects.jsp"><span>Join To Projects</span></a></li>
		<li><a href="myProject.jsp"><span>Show my project</span></a></li>
	</ul>
<%
} else
{
%>
	<ul>
		<li><a href="index.jsp"><span>Home</span></a></li>
		<li><a href="studentForm.jsp"><span>Student Sign Up</span></a></li>
		<li><a href="professorForm.jsp"><span>Professor Sign Up</span></a></li>
	</ul>
<%
}
%>